<?php
/*
==========================================
* 插件卸载程序
==========================================
* Copyright (c) 2012 伯仁网络 All rights reserved.
* Author: YinHailin
* $Id: Uninstall.php 1 2014-01-03 07:55:45Z XiongYong $
==========================================
*/

$dbPrefix = C('DB_PREFIX');
$sql = <<<EOF

DROP TABLE IF EXISTS `{$dbPrefix}article_sort`;
DROP TABLE IF EXISTS `{$dbPrefix}article`;

EOF;
plugin_excute($sql);